<?php
use think\Route;
Route::domain('adminapi',function(){
Route::get('/','adminapi/index/index');
// 验证码图片
Route::get('captcha/:id','\think\captcha\CaptchaController@index');//访问图片需要
Route::get('captcha','adminapi/login/captcha');
// 登录
Route::post('login','adminapi/login/login');
});

